package com.party.core.model.commune;
import org.springframework.beans.BeanUtils;

/**
 * @program: party
 * @description: 社群数据分析-总计
 * @author: Hua Qunhao
 * @create: 2020-03-24 10:12
 **/
public class CDataAnalysisCount extends CDataAnalysisBase {

    //发布活动次数(户外)
    private Integer pubActivityNum;
    //公益积分
    private Double commonwealScore;
    //奉献积分
    private Double dedicationScore;
    //学习积分
    private Double studyScore;
    //拜访次数
    private Integer visitNum;
    //参加戈壁活动次数
    private Integer gobiActNum;
    //有宗教信仰的人统计
    private Integer religionCount;
    //运动时长
    private Integer exerciseDuration;
    //啤酒年龄
    private Double avgAgeNum;

    public static CDataAnalysisCount transform(CDataAnalysisBase cDataAnalysisBase) {
        CDataAnalysisCount cDataAnalysisCount = new CDataAnalysisCount();
        BeanUtils.copyProperties(cDataAnalysisBase, cDataAnalysisCount);
        return cDataAnalysisCount;
    }


    public Integer getPubActivityNum() {
        return pubActivityNum;
    }

    public void setPubActivityNum(Integer pubActivityNum) {
        this.pubActivityNum = pubActivityNum;
    }

    public Double getCommonwealScore() {
        return commonwealScore;
    }

    public void setCommonwealScore(Double commonwealScore) {
        this.commonwealScore = commonwealScore;
    }

    public Double getDedicationScore() {
        return dedicationScore;
    }

    public void setDedicationScore(Double dedicationScore) {
        this.dedicationScore = dedicationScore;
    }

    public Double getStudyScore() {
        return studyScore;
    }

    public void setStudyScore(Double studyScore) {
        this.studyScore = studyScore;
    }

    public Integer getVisitNum() {
        return visitNum;
    }

    public void setVisitNum(Integer visitNum) {
        this.visitNum = visitNum;
    }

    public Integer getGobiActNum() {
        return gobiActNum;
    }

    public void setGobiActNum(Integer gobiActNum) {
        this.gobiActNum = gobiActNum;
    }

    public Integer getReligionCount() {
        return religionCount;
    }

    public void setReligionCount(Integer religionCount) {
        this.religionCount = religionCount;
    }

    public Integer getExerciseDuration() {
        return exerciseDuration;
    }

    public void setExerciseDuration(Integer exerciseDuration) {
        this.exerciseDuration = exerciseDuration;
    }

    public Double getAvgAgeNum() {
        return avgAgeNum;
    }

    public void setAvgAgeNum(Double avgAgeNum) {
        this.avgAgeNum = avgAgeNum;
    }
}
